﻿@model PMKB_DAL.User

@{
    ViewBag.Title = @PMKB_DAL.PMKBEntities_resource.User_Edit_Page_Title_Param("");
}

<h2>@PMKB_DAL.PMKBEntities_resource.User_Edit_Param("")</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(false)
    <fieldset>
        <legend>@PMKB_DAL.PMKBEntities_resource.User_Edit_Param("")</legend>

        @Html.HiddenFor(model => model.UserID)

        <div class="editor-label">
           @PMKB_DAL.PMKBEntities_resource.User_UserName_Label
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </div>

        <p>
            <input type="submit" value="@PMKB_DAL.PMKBEntities_resource.User_Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink(PMKB_DAL.PMKBEntities_resource.User_List, MVC.User.Index())
</div>
